export interface UserListParams {
  page: number;
  limit: number;
  username: string;
}
export interface SaveUserParams {
  username: string;
  password: string;
  nickName: string;
}
export interface Items extends SaveUserParams {
  id: string;
  gmtCreate: string;
  gmtModified: string;
  roleName: string;
}

export type UserList = Items[];
export interface UserListResponse {
  total: number;
  items: UserList;
}

export interface allItem {
  id: string;

  roleName: string;
 
}
export type allRolesList = allItem[];
export interface GetUserRoleListResponse {
  assignRoles: allRolesList;
  allRolesList: allRolesList;
}
